package news.entity;

import java.io.Serializable;
import java.util.Date;

public class NewsManage implements Serializable {
	private long nid, ntid;
	private String ntitel, nauthor, npicpath, ncontent, nsummary;
	private Date ncreatedate, nmiodifydate;

	public NewsManage() {
		super();
	}

	public NewsManage(long nid, long tid, String ntitel, String nauthor,
			String npicpath, String ncontent, String nsummary,
			Date ncreatedate, Date nmiodifydate) {
		super();
		this.nid = nid;
		this.ntid = tid;
		this.ntitel = ntitel;
		this.nauthor = nauthor;
		this.npicpath = npicpath;
		this.ncontent = ncontent;
		this.nsummary = nsummary;
		this.ncreatedate = ncreatedate;
		this.nmiodifydate = nmiodifydate;
	}

	public long getNid() {
		return nid;
	}

	public void setNid(long nid) {
		this.nid = nid;
	}

	public long getNtid() {
		return ntid;
	}

	public void setNtid(long tid) {
		this.ntid = tid;
	}

	public String getNtitel() {
		return ntitel;
	}

	public void setNtitel(String ntitel) {
		this.ntitel = ntitel;
	}

	public String getNauthor() {
		return nauthor;
	}

	public void setNauthor(String nauthor) {
		this.nauthor = nauthor;
	}

	public String getNpicpath() {
		return npicpath;
	}

	public void setNpicpath(String npicpath) {
		this.npicpath = npicpath;
	}

	public String getNcontent() {
		return ncontent;
	}

	public void setNcontent(String ncontent) {
		this.ncontent = ncontent;
	}

	public String getNsummary() {
		return nsummary;
	}

	public void setNsummary(String nsummary) {
		this.nsummary = nsummary;
	}

	public Date getNcreatedate() {
		return ncreatedate;
	}

	public void setNcreatedate(Date ncreatedate) {
		this.ncreatedate = ncreatedate;
	}

	public Date getNmiodifydate() {
		return nmiodifydate;
	}

	public void setNmiodifydate(Date nmiodifydate) {
		this.nmiodifydate = nmiodifydate;
	}

	@Override
	public String toString() {
		return "NewsManage [nid=" + nid + ", ntid=" + ntid + ", ntitel="
				+ ntitel + ", nauthor=" + nauthor + ", npicpath=" + npicpath
				+ ", ncontent=" + ncontent + ", nsummary=" + nsummary
				+ ", ncreatedate=" + ncreatedate + ", nmiodifydate="
				+ nmiodifydate + "]";
	}

}
